class SpuareTypeModel {
  String title;
  String urlPath;
  int currentIndex;
  String subContent;

  SpuareTypeModel(
      {this.title, this.urlPath,this. currentIndex,this.subContent});

  SpuareTypeModel.fromJson(Map<String, dynamic> json) {
    title = json['title'];
    urlPath = json['urlPath'];
    currentIndex=json['currentIndex'];
    subContent=json['subContent'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['title'] = this.title;
    data['urlPath'] = this.urlPath;
    data['currentIndex']=this.currentIndex;
    data['subContent']=this.subContent;
    return data;
  }
}